package module.dao;

import common.annotation.DaoSql;
import common.annotation.QueryDao;
import common.bean.SearchPageResult;
import common.bean.SearchParameter;
import common.dao.BaseDao;
import module.model.ServiceModel;

@QueryDao
public interface ServiceDao  extends BaseDao<Long,ServiceModel> {
    @DaoSql(sql="SELECT * FROM service_service WHERE 1=1 ORDER BY CREATE_TIME DESC,LAST_UPDATE_TIME DESC",resultType = "Page[ServiceModelMapping]")
    public SearchPageResult<ServiceModel> getServiceModelListPage(SearchParameter searchParameter);
}
